//
//  Person.m
//  oc x
//
//  Created by Mac OS on 16-4-5.
//  Copyright (c) 2016年 oyzh. All rights reserved.
//

#import "Person.h"

@implementation Person
- (void)eat
{
    NSLog(@"Person %@eat!",self.name);

}
-(void)sleep
{
    NSLog(@"Person %@sleep!",self.name);
}

-(void)talk:(NSString*)text
{
    NSLog(@"Person%@says:%@!",self.name,text);
}
@end
